Don't hardcode echo -n
authorMatthias Clasen <matthiasc@src.gnome.org>
Sun, 7 Oct 2007 18:22:39 +0000 (18:22 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 7 Oct 2007 18:22:39 +0000 (18:22 +0000)
svn path=/trunk/; revision=18889

ChangeLog
configure.in

index 07c5becf296cab265f17dc409933604e9ffb8a0e..bd32f8dcb89500084d4849347bc4654b2f057752 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Don't hardcode use of echo -n.  (#484008)
+
 2007-10-07  Matthias Clasen  <mclasen@redhat.com>
 
        * modules/input/gtkimcontextxim.c: Clean up issues around
index 1cea5e796db44f04df73651daa4aebbb53c4ecb1..120099b0645c7a936c57573e8e9b15969f8f97ee 100644 (file)
@@ -1557,8 +1557,8 @@ if test "x$CUPS_CONFIG" != "xno"; then
   CUPS_LIBS=`cups-config --libs`
 
   CUPS_API_VERSION=`cups-config --api-version`
-  CUPS_API_MAJOR=`echo -n $CUPS_API_VERSION | awk -F. '{print $1}'`
-  CUPS_API_MINOR=`echo -n $CUPS_API_VERSION | awk -F. '{print $2}'`
+  CUPS_API_MAJOR=`$as_echo_n $CUPS_API_VERSION | awk -F. '{print $1}'`
+  CUPS_API_MINOR=`$as_echo_n $CUPS_API_VERSION | awk -F. '{print $2}'`
 
   if test $CUPS_API_MAJOR -gt 1 -o \
           $CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -ge 2; then